package myauctioneer.dao;

import myauctioneer.dto.User;
import java.util.ArrayList;

public interface UserDAOI {
	public void saveUser(User u);
	public User loadUser(String email);
	public User loadUserByUserId(int userId);

	/**
	 * Remove user from data store.
	 */
	public boolean remove(int id);

	/**
	 * Load all users from data store.
	 */
	public ArrayList<User> loadAllUsers();
}
